.survey-form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #1890ff;
}

.form-header h2 {
  color: #1890ff;
  font-size: 24px;
  margin: 0 0 10px 0;
}

.page-indicator {
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.pagination-dots .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d9d9d9;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-dots .dot:hover {
  border-color: #1890ff;
  color: #1890ff;
  transform: scale(1.1);
}

.pagination-dots .dot.active {
  background: #1890ff;
  border-color: #1890ff;
  color: white;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.4);
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-section {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 4px solid #1890ff;
  min-height: 400px;
}

.form-section.active-page {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  color: #1890ff;
  font-size: 20px;
  margin: 0 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 15px;
}

.form-group input[type='text'],
.form-group input[type='tel'],
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input[type='text']:focus,
.form-group input[type='tel']:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: normal;
}

.radio-label:hover {
  background: #f0f9ff;
  border-color: #1890ff;
}

.radio-label input[type='radio'] {
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.radio-label:has(input[type='radio']:checked) {
  background: #e6f7ff;
  border-color: #1890ff;
  color: #1890ff;
  font-weight: 500;
}

.sub-input {
  margin-top: 10px !important;
  padding-left: 30px !important;
  background: #fafafa;
}

.inline-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.required {
  color: #ff4d4f;
  margin-left: 4px;
}

.pagination-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 120px;
  font-weight: 500;
}

.btn-primary {
  background: #1890ff;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #40a9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.btn-secondary {
  background: #fff;
  color: #333;
  border: 2px solid #d9d9d9;
}

.btn-secondary:hover:not(:disabled) {
  color: #1890ff;
  border-color: #1890ff;
}

.btn-success {
  background: #52c41a;
  color: white;
  font-size: 16px;
  padding: 12px 40px;
}

.btn-success:hover:not(:disabled) {
  background: #73d13d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .survey-form-container {
    padding: 15px;
    margin: 10px;
  }

  .form-header h2 {
    font-size: 20px;
  }

  .section-title {
    font-size: 18px;
  }

  .form-section {
    padding: 15px;
    min-height: 300px;
  }

  .pagination-dots {
    gap: 10px;
  }

  .pagination-dots .dot {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .pagination-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .inline-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-group input {
    width: 100% !important;
  }
}
